package com.lyw.springCloud.service;

import org.springframework.stereotype.Component;

/**
 * @Auther liyawei
 * @Date 2022/4/24 11:04
 */

@Component
public class PaymentFeignHystrixFallbackService implements PaymentFeignHystrixService {

    @Override
    public String ok(Integer id) {
        return "----------- PaymentFeignHystrixFallbackService ok fall back ┭┮﹏┭┮";
    }

    @Override
    public String timeout(Integer id) {
        return "----------- PaymentFeignHystrixFallbackService timeout fall back ┭┮﹏┭┮";
    }
}
